package com.SmartCampus.system.mapper;


import com.SmartCampus.system.model.dto.score.ScoreQueryRequest;
import com.SmartCampus.system.model.entity.Score;
import com.SmartCampus.system.model.vo.ScoreVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author wangliang
* @description 针对表【score(成绩表)】的数据库操作Mapper
* @createDate 2024-12-26 18:54:38
* @Entity generator.domain.Score
*/
public interface ScoreMapper extends BaseMapper<Score> {

    List<ScoreVO> getScoreByAll(Page<ScoreVO> page, ScoreQueryRequest scoreQueryRequest);

    List<ScoreVO> getScoreByMy(Page<ScoreVO> page, ScoreQueryRequest scoreQueryRequest, Long userId);
}




